package com.lxmes.procontrol.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 生产过程控制总对象 nc_pro_process_control
 * 
 * @author ruoyi
 * @date 2022-11-26
 */
public class NcProProcessControl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    private Long planId;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String factoryName;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 选择 */
    @Excel(name = "选择")
    private String choose;

    /** 合同号 */
    @Excel(name = "合同号")
    private String contractNo;

    /** 排产编号 */
    @Excel(name = "排产编号")
    private String pcCode;

    /** 排产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pcDate;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scDate;

    /** 交货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jhDate;

    /** 生产线代码 */
    @Excel(name = "生产线代码")
    private String lineCode;

    /** 生产线名称 */
    @Excel(name = "生产线名称")
    private String lineName;

    /** 工位代码 */
    @Excel(name = "工位代码")
    private String gwCode;

    /** 工位名称 */
    @Excel(name = "工位名称")
    private String gwName;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceNo;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 员工工号 */
    @Excel(name = "员工工号")
    private String empNum;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String empName;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private String proType;

    /** 工序产品编号 */
    @Excel(name = "工序产品编号")
    private String gxProCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String proName;

    /** 对应产品编号 */
    @Excel(name = "对应产品编号")
    private String dyProCode;

    /** 对应原材料编号 */
    @Excel(name = "对应原材料编号")
    private String dyYclCode;

    /** 对应整车图号 */
    @Excel(name = "对应整车图号")
    private String dyZcNum;

    /** 订单数量 */
    @Excel(name = "订单数量")
    private BigDecimal orderNum;

    /** 未排产订单数量 */
    @Excel(name = "未排产订单数量")
    private BigDecimal noPcNum;

    /** 排产数量 */
    @Excel(name = "排产数量")
    private BigDecimal pcNum;

    /** 实际完成数量 */
    @Excel(name = "实际完成数量")
    private BigDecimal finishComNum;

    /** 派工数量 */
    @Excel(name = "派工数量")
    private BigDecimal pgNum;

    /** 完工数量 */
    @Excel(name = "完工数量")
    private BigDecimal wgNum;

    /** 报工数量 */
    @Excel(name = "报工数量")
    private BigDecimal bgNum;

    /** 在制品数量 */
    @Excel(name = "在制品数量")
    private BigDecimal zzNum;

    /** 检验数量 */
    @Excel(name = "检验数量")
    private BigDecimal checkNum;

    /** 不合格数量 */
    @Excel(name = "不合格数量")
    private BigDecimal unqualifiedNum;

    /** 返修数量 */
    @Excel(name = "返修数量")
    private BigDecimal returnNum;

    /** 料废数量 */
    @Excel(name = "料废数量")
    private BigDecimal flNum;

    /** 机废数量 */
    @Excel(name = "机废数量")
    private BigDecimal jfNum;

    /** 计划上线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划上线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planOnlineTime;

    /** 实际上线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际上线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actualOnlineTime;

    /** 计划下线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划下线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date planOfflineTime;

    /** 实际下线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际下线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actualOfflineTime;

    /** 返修上线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "返修上线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnOnlineTime;

    /** 返修下线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "返修下线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnOfflineTime;

    /** 报工时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bgTimr;

    /** 检验时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检验时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 质检员工号 */
    @Excel(name = "质检员工号")
    private String checkUserNum;

    /** 质检员姓名 */
    @Excel(name = "质检员姓名")
    private String checkUserName;

    /** 包装时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "包装时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date packgeTime;

    /** 核销时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "核销时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hxTime;

    /** 材料 */
    @Excel(name = "材料")
    private String cl;

    /** 下料 */
    @Excel(name = "下料")
    private String xl;

    /** 加热 */
    @Excel(name = "加热")
    private String jr;

    /** 成型 */
    @Excel(name = "成型")
    private String cx;

    /** 冷却 */
    @Excel(name = "冷却")
    private String lq;

    /** 粗车 */
    @Excel(name = "粗车")
    private String cc;

    /** 精车 */
    @Excel(name = "精车")
    private String jc;

    /** 钻孔 */
    @Excel(name = "钻孔")
    private String zk;

    /** 检验 */
    @Excel(name = "检验")
    private String jy;

    /** 包装 */
    @Excel(name = "包装")
    private String bz;
    /** 派工工位编码 */
    private String pgGwCode;
    /** 派工工位名称 */
    private String pgGwName;
    /**  派工工位负责人ID*/
    private String pgGwFzr;
    /**  派工工位操作人员工号*/
    private String pgGwFzr1;
    /**  派工工位负责人名称*/
    private String pgGwFzr2;
    /**  工位人员数量*/
    private Long gwPersonNum;
    /** 派工工位操作人员IDS */
    private String gwPersonInfo;
    /** 派工工位负责人工号 */
    private String gwPersonInfo1;
    /** 派工工位操作人员名称 */
    private String gwPersonInfo2;
    /*是否审核0未审核 1--审核*/
    private String isSh;
    /*是否派工0未派工 1--已派工*/
    private String isPg;
    //外径公差
    private String  wjgc;
    //内径公差
    private String  njgc;
    //厚度公差
    private String  hdgc;
    //台径台高
    private String  tjtg;
    //中心距
    private String  zxj;
    //孔径孔数
    private String  kjks;
    //理论重量
    private String  llzl;
    //计算重量
    private String  jszl;
    //下料重量
    private String  xlzl;
    //物料识别号
    private String itemIdentifyCode;
    private String dj;
    private String sx;
    private String mfmdj;
    private String content;

    //记录派工用户
    private List<NcProOrderInfo> listUserOrderInfo;

    public List<NcProOrderInfo> getListUserOrderInfo() {
        return listUserOrderInfo;
    }

    public void setListUserOrderInfo(List<NcProOrderInfo> listUserOrderInfo) {
        this.listUserOrderInfo = listUserOrderInfo;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setChoose(String choose) 
    {
        this.choose = choose;
    }

    public String getChoose() 
    {
        return choose;
    }
    public void setContractNo(String contractNo) 
    {
        this.contractNo = contractNo;
    }

    public String getContractNo() 
    {
        return contractNo;
    }
    public void setPcCode(String pcCode) 
    {
        this.pcCode = pcCode;
    }

    public String getPcCode() 
    {
        return pcCode;
    }
    public void setPcDate(Date pcDate) 
    {
        this.pcDate = pcDate;
    }

    public Date getPcDate() 
    {
        return pcDate;
    }
    public void setScDate(Date scDate) 
    {
        this.scDate = scDate;
    }

    public Date getScDate() 
    {
        return scDate;
    }
    public void setJhDate(Date jhDate) 
    {
        this.jhDate = jhDate;
    }

    public Date getJhDate() 
    {
        return jhDate;
    }
    public void setLineCode(String lineCode) 
    {
        this.lineCode = lineCode;
    }

    public String getLineCode() 
    {
        return lineCode;
    }
    public void setLineName(String lineName) 
    {
        this.lineName = lineName;
    }

    public String getLineName() 
    {
        return lineName;
    }
    public void setGwCode(String gwCode) 
    {
        this.gwCode = gwCode;
    }

    public String getGwCode() 
    {
        return gwCode;
    }
    public void setGwName(String gwName) 
    {
        this.gwName = gwName;
    }

    public String getGwName() 
    {
        return gwName;
    }
    public void setDeviceNo(String deviceNo) 
    {
        this.deviceNo = deviceNo;
    }

    public String getDeviceNo() 
    {
        return deviceNo;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setEmpNum(String empNum) 
    {
        this.empNum = empNum;
    }

    public String getEmpNum() 
    {
        return empNum;
    }
    public void setEmpName(String empName) 
    {
        this.empName = empName;
    }

    public String getEmpName() 
    {
        return empName;
    }
    public void setProType(String proType) 
    {
        this.proType = proType;
    }

    public String getProType() 
    {
        return proType;
    }
    public void setGxProCode(String gxProCode) 
    {
        this.gxProCode = gxProCode;
    }

    public String getGxProCode() 
    {
        return gxProCode;
    }
    public void setProName(String proName) 
    {
        this.proName = proName;
    }

    public String getProName() 
    {
        return proName;
    }
    public void setDyProCode(String dyProCode) 
    {
        this.dyProCode = dyProCode;
    }

    public String getDyProCode() 
    {
        return dyProCode;
    }
    public void setDyYclCode(String dyYclCode) 
    {
        this.dyYclCode = dyYclCode;
    }

    public String getDyYclCode() 
    {
        return dyYclCode;
    }
    public void setDyZcNum(String dyZcNum) 
    {
        this.dyZcNum = dyZcNum;
    }

    public String getDyZcNum() 
    {
        return dyZcNum;
    }

    public BigDecimal getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(BigDecimal orderNum) {
        this.orderNum = orderNum;
    }

    public BigDecimal getNoPcNum() {
        return noPcNum;
    }

    public void setNoPcNum(BigDecimal noPcNum) {
        this.noPcNum = noPcNum;
    }

    public BigDecimal getPcNum() {
        return pcNum;
    }

    public void setPcNum(BigDecimal pcNum) {
        this.pcNum = pcNum;
    }

    public BigDecimal getFinishComNum() {
        return finishComNum;
    }

    public void setFinishComNum(BigDecimal finishComNum) {
        this.finishComNum = finishComNum;
    }

    public BigDecimal getPgNum() {
        return pgNum;
    }

    public void setPgNum(BigDecimal pgNum) {
        this.pgNum = pgNum;
    }

    public BigDecimal getWgNum() {
        return wgNum;
    }

    public void setWgNum(BigDecimal wgNum) {
        this.wgNum = wgNum;
    }

    public BigDecimal getBgNum() {
        return bgNum;
    }

    public void setBgNum(BigDecimal bgNum) {
        this.bgNum = bgNum;
    }

    public BigDecimal getZzNum() {
        return zzNum;
    }

    public void setZzNum(BigDecimal zzNum) {
        this.zzNum = zzNum;
    }

    public BigDecimal getCheckNum() {
        return checkNum;
    }

    public void setCheckNum(BigDecimal checkNum) {
        this.checkNum = checkNum;
    }

    public BigDecimal getUnqualifiedNum() {
        return unqualifiedNum;
    }

    public void setUnqualifiedNum(BigDecimal unqualifiedNum) {
        this.unqualifiedNum = unqualifiedNum;
    }

    public BigDecimal getReturnNum() {
        return returnNum;
    }

    public void setReturnNum(BigDecimal returnNum) {
        this.returnNum = returnNum;
    }

    public BigDecimal getFlNum() {
        return flNum;
    }

    public void setFlNum(BigDecimal flNum) {
        this.flNum = flNum;
    }

    public BigDecimal getJfNum() {
        return jfNum;
    }

    public void setJfNum(BigDecimal jfNum) {
        this.jfNum = jfNum;
    }

    public void setPlanOnlineTime(Date planOnlineTime)
    {
        this.planOnlineTime = planOnlineTime;
    }

    public Date getPlanOnlineTime() 
    {
        return planOnlineTime;
    }
    public void setActualOnlineTime(Date actualOnlineTime) 
    {
        this.actualOnlineTime = actualOnlineTime;
    }

    public Date getActualOnlineTime() 
    {
        return actualOnlineTime;
    }
    public void setPlanOfflineTime(Date planOfflineTime) 
    {
        this.planOfflineTime = planOfflineTime;
    }

    public Date getPlanOfflineTime() 
    {
        return planOfflineTime;
    }
    public void setActualOfflineTime(Date actualOfflineTime) 
    {
        this.actualOfflineTime = actualOfflineTime;
    }

    public Date getActualOfflineTime() 
    {
        return actualOfflineTime;
    }
    public void setReturnOnlineTime(Date returnOnlineTime) 
    {
        this.returnOnlineTime = returnOnlineTime;
    }

    public Date getReturnOnlineTime() 
    {
        return returnOnlineTime;
    }
    public void setReturnOfflineTime(Date returnOfflineTime) 
    {
        this.returnOfflineTime = returnOfflineTime;
    }

    public Date getReturnOfflineTime() 
    {
        return returnOfflineTime;
    }
    public void setBgTimr(Date bgTimr) 
    {
        this.bgTimr = bgTimr;
    }

    public Date getBgTimr() 
    {
        return bgTimr;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setCheckUserNum(String checkUserNum) 
    {
        this.checkUserNum = checkUserNum;
    }

    public String getCheckUserNum() 
    {
        return checkUserNum;
    }
    public void setCheckUserName(String checkUserName) 
    {
        this.checkUserName = checkUserName;
    }

    public String getCheckUserName() 
    {
        return checkUserName;
    }
    public void setPackgeTime(Date packgeTime) 
    {
        this.packgeTime = packgeTime;
    }

    public Date getPackgeTime() 
    {
        return packgeTime;
    }
    public void setHxTime(Date hxTime) 
    {
        this.hxTime = hxTime;
    }

    public Date getHxTime() 
    {
        return hxTime;
    }
    public void setCl(String cl) 
    {
        this.cl = cl;
    }

    public String getCl() 
    {
        return cl;
    }
    public void setXl(String xl) 
    {
        this.xl = xl;
    }

    public String getXl() 
    {
        return xl;
    }
    public void setJr(String jr) 
    {
        this.jr = jr;
    }

    public String getJr() 
    {
        return jr;
    }
    public void setCx(String cx) 
    {
        this.cx = cx;
    }

    public String getCx() 
    {
        return cx;
    }
    public void setLq(String lq) 
    {
        this.lq = lq;
    }

    public String getLq() 
    {
        return lq;
    }
    public void setCc(String cc) 
    {
        this.cc = cc;
    }

    public String getCc() 
    {
        return cc;
    }
    public void setJc(String jc) 
    {
        this.jc = jc;
    }

    public String getJc() 
    {
        return jc;
    }
    public void setZk(String zk) 
    {
        this.zk = zk;
    }

    public String getZk() 
    {
        return zk;
    }
    public void setJy(String jy) 
    {
        this.jy = jy;
    }

    public String getJy() 
    {
        return jy;
    }
    public void setBz(String bz) 
    {
        this.bz = bz;
    }

    public String getBz() 
    {
        return bz;
    }

    public String getPgGwCode() {
        return pgGwCode;
    }

    public void setPgGwCode(String pgGwCode) {
        this.pgGwCode = pgGwCode;
    }

    public String getPgGwName() {
        return pgGwName;
    }

    public void setPgGwName(String pgGwName) {
        this.pgGwName = pgGwName;
    }

    public String getPgGwFzr() {
        return pgGwFzr;
    }

    public void setPgGwFzr(String pgGwFzr) {
        this.pgGwFzr = pgGwFzr;
    }

    public String getPgGwFzr2() {
        return pgGwFzr2;
    }

    public void setPgGwFzr2(String pgGwFzr2) {
        this.pgGwFzr2 = pgGwFzr2;
    }

    public Long getGwPersonNum() {
        return gwPersonNum;
    }

    public void setGwPersonNum(Long gwPersonNum) {
        this.gwPersonNum = gwPersonNum;
    }

    public String getGwPersonInfo() {
        return gwPersonInfo;
    }

    public void setGwPersonInfo(String gwPersonInfo) {
        this.gwPersonInfo = gwPersonInfo;
    }

    public String getGwPersonInfo2() {
        return gwPersonInfo2;
    }

    public void setGwPersonInfo2(String gwPersonInfo2) {
        this.gwPersonInfo2 = gwPersonInfo2;
    }

    public String getIsSh() {
        return isSh;
    }

    public void setIsSh(String isSh) {
        this.isSh = isSh;
    }

    public String getIsPg() {
        return isPg;
    }

    public void setIsPg(String isPg) {
        this.isPg = isPg;
    }

    public String getWjgc() {
        return wjgc;
    }

    public void setWjgc(String wjgc) {
        this.wjgc = wjgc;
    }

    public String getNjgc() {
        return njgc;
    }

    public void setNjgc(String njgc) {
        this.njgc = njgc;
    }

    public String getHdgc() {
        return hdgc;
    }

    public void setHdgc(String hdgc) {
        this.hdgc = hdgc;
    }

    public String getTjtg() {
        return tjtg;
    }

    public void setTjtg(String tjtg) {
        this.tjtg = tjtg;
    }

    public String getZxj() {
        return zxj;
    }

    public void setZxj(String zxj) {
        this.zxj = zxj;
    }

    public String getKjks() {
        return kjks;
    }

    public void setKjks(String kjks) {
        this.kjks = kjks;
    }

    public String getLlzl() {
        return llzl;
    }

    public void setLlzl(String llzl) {
        this.llzl = llzl;
    }

    public String getXlzl() {
        return xlzl;
    }

    public void setXlzl(String xlzl) {
        this.xlzl = xlzl;
    }

    public String getItemIdentifyCode() {
        return itemIdentifyCode;
    }

    public void setItemIdentifyCode(String itemIdentifyCode) {
        this.itemIdentifyCode = itemIdentifyCode;
    }

    public String getPgGwFzr1() {
        return pgGwFzr1;
    }

    public void setPgGwFzr1(String pgGwFzr1) {
        this.pgGwFzr1 = pgGwFzr1;
    }

    public String getGwPersonInfo1() {
        return gwPersonInfo1;
    }

    public void setGwPersonInfo1(String gwPersonInfo1) {
        this.gwPersonInfo1 = gwPersonInfo1;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public String getJszl() {
        return jszl;
    }

    public void setJszl(String jszl) {
        this.jszl = jszl;
    }

    public String getDj() {
        return dj;
    }

    public void setDj(String dj) {
        this.dj = dj;
    }

    public String getSx() {
        return sx;
    }

    public void setSx(String sx) {
        this.sx = sx;
    }

    public String getMfmdj() {
        return mfmdj;
    }

    public void setMfmdj(String mfmdj) {
        this.mfmdj = mfmdj;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryCode", getFactoryCode())
            .append("factoryName", getFactoryName())
            .append("orderNo", getOrderNo())
            .append("choose", getChoose())
            .append("contractNo", getContractNo())
            .append("pcCode", getPcCode())
            .append("pcDate", getPcDate())
            .append("scDate", getScDate())
            .append("jhDate", getJhDate())
            .append("lineCode", getLineCode())
            .append("lineName", getLineName())
            .append("gwCode", getGwCode())
            .append("gwName", getGwName())
            .append("deviceNo", getDeviceNo())
            .append("deviceName", getDeviceName())
            .append("empNum", getEmpNum())
            .append("empName", getEmpName())
            .append("proType", getProType())
            .append("gxProCode", getGxProCode())
            .append("proName", getProName())
            .append("dyProCode", getDyProCode())
            .append("dyYclCode", getDyYclCode())
            .append("dyZcNum", getDyZcNum())
            .append("orderNum", getOrderNum())
            .append("noPcNum", getNoPcNum())
            .append("pcNum", getPcNum())
            .append("finishComNum", getFinishComNum())
            .append("pgNum", getPgNum())
            .append("wgNum", getWgNum())
            .append("bgNum", getBgNum())
            .append("zzNum", getZzNum())
            .append("checkNum", getCheckNum())
            .append("unqualifiedNum", getUnqualifiedNum())
            .append("returnNum", getReturnNum())
            .append("flNum", getFlNum())
            .append("jfNum", getJfNum())
            .append("planOnlineTime", getPlanOnlineTime())
            .append("actualOnlineTime", getActualOnlineTime())
            .append("planOfflineTime", getPlanOfflineTime())
            .append("actualOfflineTime", getActualOfflineTime())
            .append("returnOnlineTime", getReturnOnlineTime())
            .append("returnOfflineTime", getReturnOfflineTime())
            .append("bgTimr", getBgTimr())
            .append("checkTime", getCheckTime())
            .append("checkUserNum", getCheckUserNum())
            .append("checkUserName", getCheckUserName())
            .append("packgeTime", getPackgeTime())
            .append("hxTime", getHxTime())
            .append("cl", getCl())
            .append("xl", getXl())
            .append("jr", getJr())
            .append("cx", getCx())
            .append("lq", getLq())
            .append("cc", getCc())
            .append("jc", getJc())
            .append("zk", getZk())
            .append("jy", getJy())
            .append("bz", getBz())
            .append("remark", getRemark())
            .toString();
    }
}
